<?php

	//JACKED Manager configuration file
	////global JACKED variables
	
	//client name (str)
	define(JACKED_CLIENT_NAME, "JACKED");
	
	//url path from root of JACKED installation (str)
	define(JACKED_ROOT_PATH, "http://nickpettazzoni.com/JACKED/");
	
	//internal path to JACKED root
	define(JACKED_LOCAL_PATH, '/public_html/JACKED/');
	
	//client version (num)
	define(JACKED_CLIENT_VERSION, 1.1);
	
	//current IP address of user
	define(JACKED_REMOTE_ADDR, preg_match('/\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b/', $_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : "127.0.0.1");
	
	//default database
	define(JACKED_DB_NAME, "pettazz_content");
	
	//JACKED users table
	define(JACKED_USERS_TABLE, "users");
	
	//JACKED users table
	define(JACKED_SESSIONS_TABLE, "sessions");
	
	//JACKED package registration table
	define(JACKED_PACKAGES_TABLE, "jacked_packages");
	
	//JACKED module registration table
	define(JACKED_MOD_TABLE, "jacked_modules");
	
	//heading page //
	define(JACKED_HEADING_STRING, '<h1><img src="images/jackedLogo.png" border="0" alt="JACKED Manager" /></h1><h2>securely logged into ' . JACKED_CLIENT_NAME . '</h2><h4>client connected from address: ' . JACKED_REMOTE_ADDR . '</h4><h4><a href="jacked_admin.php">manager home</a> | <a href="jacked_logout.php">logout</a></h4>' . "\n" . '<br />' . "\n" . '<br />' . "\n");
	
	//whether the jacked login will check to see if this user is already logged in
	define(JACKED_LOGIN_SESSION_UNIQUE, false);
	
	//Session expiration time in seconds
	define(JACKED_SESSION_EXPIRY, 10800);
	
	//SALT length (security)
	define(JACKED_SALT_LENGTH, 17);
	
	//Array defining stopwords for search
	define(JACKED_STOPWORDS, 'I, a, about, an, are, as, at, be, by, com, de, en, for, from, how, in, is, it, la, of, on, or, that, the, this, to, was, what, when, where, who, why, will, with, und, the, www');
	
    //value : shows only
    /////-2 : E_ALL & ~E_NOTICE
    /////-1 : E_ALL
    //////0 : none
    //////1 : E_ALL & JACKED debug
    //////2 : E_ALL & ~E_NOTICE & JACKED debug
	define(JACKED_DEBUG, 0);
?>